package com.ye.mybatis.mapper;

import com.ye.mybatis.pojo.Actor;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ActorMapper {

    List<Actor> getListById(int id);

    Actor checkLogin(String name, String phone);

    Actor checkLoginByMap(Map<String,Object> map);

    void addActor(Actor actor);

    Actor getInfo(@Param("username") String name, @Param("phone") String phone);
    
}
